package com.my.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张子艺
 * @since 2018-09-15
 */
@TableName("day_money")
public class DayMoney extends Model<DayMoney> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 客户姓名
     */
	@TableField("user_name")
	private String userName;
    /**
     * 预付
     */
	@TableField("set_pay")
	private Long setPay;
    /**
     * 预定套餐ID
     */
	private Long meal;
    /**
     * 谁卖的  名字
     */
	@TableField("out_name")
	private String outName;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Long createTime;

	@TableField(exist = false)
	private String mealName;

	@TableField("areaid")
	private Long areaid;

	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	public String getMealName() {
		return mealName;
	}

	public void setMealName(String mealName) {
		this.mealName = mealName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getSetPay() {
		return setPay;
	}

	public void setSetPay(Long setPay) {
		this.setPay = setPay;
	}

	public Long getMeal() {
		return meal;
	}

	public void setMeal(Long meal) {
		this.meal = meal;
	}

	public String getOutName() {
		return outName;
	}

	public void setOutName(String outName) {
		this.outName = outName;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "DayMoney{" +
			"id=" + id +
			", userName=" + userName +
			", setPay=" + setPay +
			", meal=" + meal +
			", outName=" + outName +
			", createTime=" + createTime +
			"}";
	}
}
